﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBOffice.Model
{
    /// <summary>
    /// 新闻实体类
    /// </summary>
    public  class News
    {
        private int newsNo;
        /// <summary>
        /// 新闻编号
        /// </summary>
        public int NewsNo
        {
            get { return newsNo; }
            set { newsNo = value; }
        }
        private string newsTitle;
        /// <summary>
        /// 标题
        /// </summary>
        public string NewsTitle
        {
            get { return newsTitle; }
            set { newsTitle = value; }
        }
        private int newsTypeNo;
        /// <summary>
        /// 类型编号
        /// </summary>
        public int NewsTypeNo
        {
            get { return newsTypeNo; }
            set { newsTypeNo = value; }
        }
        private string newsContent;
        /// <summary>
        /// 内容
        /// </summary>
        public string NewsContent
        {
            get { return newsContent; }
            set { newsContent = value; }
        }
        private int userNo;
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserNo
        {
            get { return userNo; }
            set { userNo = value; }
        }
        private DateTime publishDate;
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishDate
        {
            get { return publishDate; }
            set { publishDate = value; }
        }
        private int clickNum;
        /// <summary>
        /// 点击数
        /// </summary>
        public int ClickNum
        {
            get { return clickNum; }
            set { clickNum = value; }
        }
        private bool isTop;
        /// <summary>
        /// 是否置顶。true为置顶，false不置顶
        /// </summary>
        public bool IsTop
        {
            get { return isTop; }
            set { isTop = value; }
        }
        private bool isRecommend;
        /// <summary>
        /// 是否推荐。true为推荐，false为不推荐
        /// </summary>
        public bool IsRecommend
        {
            get { return isRecommend; }
            set { isRecommend = value; }
        }
    }
}
